package com.example.chcrm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.employee.RoleModels;

/**
 * @Author 邹
 * @Date 2025/4/18 21:43
 * @Version 1.0
 */
public interface RoleModelsService <T> {
    ResponseMsg<Object> selectAllRole();

    ResponseMsg<IPage<RoleModels>> pageList(RoleModels roleModels);

    ResponseMsg<Object> add(RoleModels roleModels);

    ResponseMsg<Object> disable(RoleModels roleModels);

    ResponseMsg<Object> update(RoleModels roleModels);

    ResponseMsg<Object> delete(String id);
}
